<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Lezione</title>
<html:base/>
<link type="text/css" rel="stylesheet" href="../../stylesheets/main.css"/>
</head>
<body>
<div id="top">
<p>
<bean:message key="application.title"/>
</p>
<table>
<tr>
<td><html:link action="/Welcome">home</html:link></td>
<td><html:link action="/userRegistration">registrazione</html:link></td>
<td><html:link action="/administration">amministrazione</html:link></td>
<td><html:link action="/Logoff">logoff</html:link></td>
</tr>
</table>
</div>

<div id="left">

<table>

<tr><td><html:link action="/contentSelection"><bean:message key="multimedia.selection.course"/></html:link></td></tr>
</table>

</div>

<div id="middle">

<logic:iterate id="resource" name="resources">

</logic:iterate>
<logic:present name="resources">

<table>
<thead><th><bean:write name="lesson" property="title" /></th></thead>

<tr>
	<td><embed width="352" height="288" src="http://195.110.140.174:80/ramgen/<bean:write name="resource" property="identifier"/>" controls="ImageWindow" nojava="true" console="_master"></embed></td>
</tr>
<tr>
<td><embed src="http://195.110.140.174:80/ramgen/<bean:write name="resource" property="identifier"/>" width="352" height="36" nojava="true" controls="ControlPanel"></embed></td>
</tr>

</table>


</div>

<div id="right">


	<table>
	<thead>
	<th><bean:message key="multimedia.metadata.dc.format"/></th>
	</thead>
	
	<logic:iterate id="resource" name="resources">
		<tr>
		<td>
		<bean:write name="resource" property="format" />
		</td>
		</tr>
	</logic:iterate>
	</table>
</logic:present>

</div>

<div id="bottom">

<table align="center">
<tr><td align="center"><bean:message key="application.lastupdate"/></td></tr>
<tr><td><bean:message key="application.power.logo"/></td></tr>
</table>

</div>


</body>
</html>